<template>
  <div>
    <h1 class="header">我是头部组件</h1>
  </div>
</template>

<script>
export default {
  name: "Header",
};
</script>

<style scoped>
.header {
  width: 300px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  background: green;
}
</style>